package cn.itcast.com.homework.day723;


//2. 根据注释填写(1), (2),(3)处的代码
public class test2{
    public static void main(String[] args){
        // 初始化bean1
        Bean1 bean1 = new test2().new Bean1();
        bean1.i++;
        // 初始化bean2
        Bean2 bean2 = new Bean2();
        bean2.j++;
        //初始化bean3
        Bean.Bean3 bean3 = null;
        bean3.k++;
    }
    class Bean1{
        public int i = 0;

    }

    static class Bean2{
        public int j = 0;
    }

}

class Bean{
    class Bean3{
        public int k = 0;
    }
}